import myAxios from "../utils/request.js";

// 生成评论
export const generateComments = async (params) => {
    const res = await myAxios.request({
        url: "/generate/generate_comments",
        method: "POST",
        data: params,
    });
    return res;
}


export const generateCommentsWithNoDb = async (params) => {
    const res = await myAxios.request({
        url: "/generate/generate_comments_with_no_db",
        method: "POST",
        data: params,
    });
    return res;
}

export const generateCommentsToDb = async (params) => {
    const res = await myAxios.request({
        url: "/generate/generate_comments_to_db",
        method: "POST",
        data: params,
    });
    return res;
}


